package com.zhentao.controller;

import com.zhentao.common.dtos.ResponseResult;
import com.zhentao.service.CarouselimageService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api("zpi/wx/carouselimage")
@RestController
@RequestMapping("zpi/wx/carouselimage")
public class CarouselimageController {
    @Autowired
    private CarouselimageService carouselimageService;

    @ApiOperation(value = "", notes = "", httpMethod = "GET")
    @GetMapping("index/home/list")
    public ResponseResult indexHomeList(){
        return carouselimageService.indexHomeList();
    }
}
